<?php
/**
 * @Author    紫梦
 * @DateTime  2017-11-02
 * @copyright 响响租车
 * @version   1.0
 * @desc  
 */
namespace app\index\controller;
use app\common\model\AdminRoles;

class Index extends Base
{
	
	// 主页
    public function index()
    {
        // $role = AdminRoles::get(['admin_id'=>5]);
        // dump($role);
        dump(session('admin'));

        return $this->fetch();
    }

    //桌面
    public function welcome()
    {
        return $this->fetch();
    	
    }

}
